package com.yc.sp_index.web.fegin;

import com.yc.cloudvideo.entity.StoreUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("sp-store")
public interface ISp_storeuser {

    @PostMapping("/cloudvideo/storeUser/selectStoreByUid")
    List<StoreUser> selectStoreByUid(@RequestParam("uid") int uid);

    @PostMapping("/cloudvideo/storeUser/selectPublicStoreByOvert")
    List<StoreUser> selectStoreByOvert(@RequestParam("uid") int uid);
    @PostMapping("/cloudvideo/storeUser/selectPrivateStoreByOvert")
    List<StoreUser> selectPrivateByOvert(@RequestParam("uid") int uid);
    @PostMapping("/cloudvideo/storeUser/selectMystoreByUid")
    List<StoreUser> selectMystoreByUid(@RequestParam("uid") int uid);
    @PostMapping("/cloudvideo/storeUser/selectOtherstoreByUid")
    List<StoreUser> selectOtherstoreByUid(@RequestParam("uid") int uid);
}